﻿using IT.CMS.Core.Configuration;

namespace IT.CMS.Core.Domain
{
    public class SiteInformationSettings : ISettings
    {
        /// <summary>
        /// Gets or sets a value indicating whether site is closed
        /// </summary>
        public bool SiteClosed { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether administrators can visit a closed site
        /// </summary>
        public bool SiteClosedAllowForAdmins { get; set; }

        /// <summary>
        /// Gets or sets a default site theme for desktops
        /// </summary>
        public string DefaultSiteThemeForDesktops { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether customers are allowed to select a theme
        /// </summary>
        public bool AllowCustomerToSelectTheme { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether mobile devices supported
        /// </summary>
        public bool MobileDevicesSupported { get; set; }

        /// <summary>
        /// Gets or sets a default site theme used by mobile devices (if enabled)
        /// </summary>
        public string DefaultSiteThemeForMobileDevices { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether all requests will be handled as mobile devices (used for testing)
        /// </summary>
        public bool EmulateMobileDevice { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether mini profiler should be displayed in public site (used for debugging)
        /// </summary>
        public bool DisplayMiniProfilerInPublicSite { get; set; }
    }
}
